<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class GrLive extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'gr_live';

    protected $primaryKey = 'live_id';

    public function userInfo(){
        return $this->hasOne(GrUser::class,'id','user_id');
    }
}
